<template>
	<view>
		<view class="list-title-view">{{listTitle}}</view>
		<view class="item" v-for="(indexItem,index) in data" :key="index">
			<view class="line-2"></view>
			<view class="item_box">
				<view class="item-title">{{indexItem.title}}</view>
				<view class="item-content">{{indexItem.content}}</view>
			</view>
		</view>
		<view class=""viewclass></view>
	</view>

</template>

<script>
	export default {
		name: "summarizeList",
		props: {
			/**
			 * 
			 * 
			 */
			data: {
				type: Array,
				default: []
			},
			listTitle:{
				type: String,
				default:'车身'
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style>
	.list-title-view{
		padding: 10rpx 20rpx ;
		margin-top: 30rpx;
		width: 750rpx;
		background: #1D212505;
		border-radius: 0rpx;
		
		font-size: 28rpx;
		font-family: DIN Alternate;
		font-weight: bold;
		color: #1C2125;
		opacity: 1;
		
	}
	
	.item_box {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.item-title {
		flex: 2;
		margin: 35rpx 20rpx ;
		
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #666666;
	}

	.item-content {
		flex: 5;
		text-align: right;
		margin: 20rpx 20rpx;
		
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #000126;
		opacity: 1;
	}

	.line-2 {
		height: 3rpx;
		background-color: #F1F1F1;
		margin: 0rpx 20rpx;
	}
	
	.viewclass{
		width: 100%;
		height: 30rpx;
	}
</style>